package com.ruoyi.deal.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 商品管理分页查询对象 hy_deal_goods
 *
 * @author lixin
 * @date 2021-05-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("商品管理分页查询对象")
public class HyDealGoodsQueryBo extends BaseEntity {


	@ApiModelProperty("分页大小")
	private Integer pageSize;

	@ApiModelProperty("当前页数")
	private Integer pageNum;

	@ApiModelProperty("排序列")
	private String orderByColumn;

	@ApiModelProperty(value = "排序的方向" , example = "asc,desc")
	private String isAsc;

	@ApiModelProperty("商品名称")
	private String goodsName;

	@ApiModelProperty("商品所属用户")
	private Integer userId;

	@ApiModelProperty("原价")
	private BigDecimal oriPrice;

	@ApiModelProperty("现价")
	private BigDecimal price;

	@ApiModelProperty("商品所属分类id")
	private Integer categoryId;

	@ApiModelProperty("商品所属品牌id")
	private Integer brandId;

	@ApiModelProperty("收取类型（1自取，2包送）")
	private Integer sendType;

	@ApiModelProperty("状态(0未发布，1已发布，2交易中，3已卖出)")
	private Integer status;

}
